<include file="public/shop_header"/>

<body>

<!--main-->
<style type="text/css">
body{ background:#f4f4f4;}
</style>

<div class="cpMain">
  <form id="address">
  <ul class="myAddress-addFiled">
    <li>
      <label>姓名</label>
      <div class="aside">
        <input type="text" class="inpt"  name="username">
      </div>
    </li>
    <li>
      <label>电话</label>
      <div class="aside">
        <input type="text" class="inpt" name="phone">
      </div>
    </li>
    <li>
      <label>邮编</label>
      <div class="aside">
        <input type="text" class="inpt" name="postcode">
      </div>
    </li>
    <li>
      <label>省、市、区</label>
      <div class="aside">
        <input type="text" class="inpt" id="demo1" name="region">
      </div>
    </li>
    <li>
      <label>详细地址</label>
      <div class="aside">
        <input type="text" class="inpt" name="address">
      </div>
    </li>
  </ul>
  <div class="myAddress-addDefault clearfix">
    <span class="cn fl">设为默认地址</span>
    <div class="arge fr">
      <input type="checkbox" name="is_default" id="moren" value="1">
      <label for="moren"></label>
    </div>
  </div>
</form>
  <div class="myAddress-button">
    <a href="javascript:;" class="tj-btn" onclick="address()">保存</a>
  </div>
</div>
<!--main End-->


<script>
    function address() {
        ajax_submit('address', "{:U('Home/User/add_address')}");
    }
</script>

</body>
</html>
